package com.cnt.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cnt.entity.UserLog;
import com.cnt.vo.UserResultVo.LogResultVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserLogDao extends BaseMapper<UserLog> {
    List<LogResultVo> queryLogs(
            @Param("userId") Integer userId,
            @Param("account") String account,
            @Param("queryType") Integer queryType,
            @Param("startTime") String startTime,
            @Param("endTime") String endTime
    );
}
